// **********************************************************************
//
// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

#include <IceUtil/IceUtil.h>
#include <Ice/Ice.h>
#include "NewBankProxyI.h"
#include <iostream>
#include <string>
#include <map>

using namespace std;


PPIce::ResultA NewBankProxyI::NewBankAccountInfoServer(const string& userid , const Ice::Current& curr){

	//map <string, string> res;
	//cout << "PrinterServerI.cpp:" << __LINE__ << endl;
	return client.NewBankAccountInfoServer(userid);
	//cout << res["gold"] << endl;
	//return res;

};


PPIce::ResultA NewBankProxyI::NewBankCongealThawServer(const string& userid , short action , const Ice::Current& curr){
	//cout << __LINE__ << endl;
	return client.NewBankCongealThawServer(userid, action);
};


PPIce::ResultA NewBankProxyI::NewBankUserMoneyquantumGet(const string& userid, const Ice::Current& curr){

	//cout << __LINE__ << endl;
	return client.NewBankUserMoneyquantumGet(userid);
};


void NewBankProxyI::NewBankAddGoldTest(const string& userid , Ice::Int gold , const string& frombanknum, const string& objid , const Ice::Current& curr){

	//cout << __LINE__ << endl;
	client.NewBankAddGoldTest(userid,gold,frombanknum,objid);
};


PPIce::ResultC NewBankProxyI::NewBankServerActionB( const PPIce::ResultB& InputArray, const string & frombanknum , const Ice::Current&){

	//cout << __LINE__ << endl;
	return client.NewBankServerActionB(InputArray, frombanknum);
};


PPIce::ResultC NewBankProxyI::NewBankServerActionSequenceB(const PPIce::SequenceResultB& SequenceInputArray, const string & frombanknum ,  const Ice::Current& curr){

	//cout << __LINE__ << endl;
	return client.NewBankServerActionSequenceB(SequenceInputArray, frombanknum);
};

